/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.srcptit.trainning.thompv.btvn2;
import java.util.Scanner;
/**
 *
 * @author SONY
 */
public class Bai3 {
    public static void main(String[] args)
    {
        Scanner sc=new Scanner(System.in);
        String s,s2;
        StringBuffer s1;
        s=sc.nextLine();
        s2=s;
        s1=new StringBuffer(s);
        s=s1.reverse().toString();
        if(s.equals(s2)==true) System.out.println("Day la xau thuan nghich");
        else System.out.println("Day ko la xau thuan nghich");
    }
}
